AcyMailing\Classes\CampaignClass D

Total Complexity 194
Dependencies 9
Dependents 18
Total lines 968
Lines of code 703
Logical lines of code 492
Comment lines 0
Methods 48
Properties 3

Methods 48

Method Rating Maintainability Complexity Lines of code
getMatchingElements()
C
31 30 97
getLastNewsletters()
B
37 21 67
send()
B
34 19 87
countUsersCampaign()
A
44 9 42
triggerAutoCampaign()
A
46 9 36
save()
A
53 8 21
decode()
A
56 8 17
getStatsCampaignAuto()
S
51 5 27
manageListsToCampaign()
S
56 5 17
getOpenByDay()
S
60 5 11
getOpenByMonth()
S
60 5 11
getOpenByHour()
S
60 5 11
delete()
S
59 4 14
getFilterCampaign()
S
60 4 13
shouldGenerateCampaign()
S
60 4 12
getOpenByWeek()
S
64 4 9
onlyManageableCampaigns()
S
62 3 12
generateCampaign()
S
56 2 17
getTrackingSales()
S
58 2 16
getDevicesWithCountByMailId()
S
65 3 8
getCampaignsByTypes()
S
66 3 7
updateAutoCampaign()
S
63 3 10
generateMailAutoCampaign()
S
61 2 12
generateMailAutoCampaignMultilingual()
S
63 2 10
getOpenRateCampaigns()
S
67 2 7
formatSaleTracking()
S
72 2 5
getBounceRateCampaigns()
S
67 2 7
getStatsCampaign()
S
66 2 8
getCountCampaignType()
S
74 2 4
setListToGeneratedCampaign()
S
72 1 5
getLastGenerated()
S
71 1 7
getListsByMailId()
S
75 1 4
getAllCampaignsGenerated()
S
75 1 4
getAllCampaignsGeneratedWaiting()
S
71 1 6
getConstNow()
S
81 1 3
getBounceRateAllCampaign()
S
76 1 4
getOpenRateAllCampaign()
S
76 1 4
getConstScheduled()
S
81 1 3
getAutoCampaignFromGeneratedMailId()
S
74 1 4
getOneCampaignByMailId()
S
78 1 3
getAllCampaignsNameMailId()
S
72 1 6
get()
S
77 1 3
getOneByIdWithMail()
S
69 1 7
getOneById()
S
78 1 3
prepareStatsCampaign()
S
65 1 9
getAll()
S
75 1 4
getConstAuto()
S
81 1 3
getCampaignForDashboard()
S
70 1 6